Global Index
HTML5 JS API Index > SVG Tutorials & Specs

SVGDocument

Extends Document. Implements DocumentEvent, DocumentEvent.

When an ‘svg’ element is embedded inline as a component of a document from another namespace, such as when an ‘svg’ element is embedded inline within an XHTML document [XHTML], then an SVGDocument object will not exist; instead, the root object in the document object hierarchy will be a Document object of a different type, such as an HTMLDocument object.

Properties
DOMString
domain
The domain name of the server that served the document, or a null string if the server cannot be identified by a domain name.
DOMString
referrer
Returns the URI of the page that linked to this page. The value is an empty string if the user navigated to the page directly (not through a link, but, for example, via a bookmark).
SVGSVGElement
rootElement
The root ‘svg’ in the document hierarchy.
DOMString
title
The title of a document as specified by the ‘title’ sub-element of the ‘svg’ root element (i.e., <svg><title>Here is the title</title>...</svg>)
DOMString
URL
The complete URI of the document.
Referenced by
GetSVGDocumentgetSVGDocument()